package com.dataextend.mapper.cluster;

import com.dataextend.entity.PermissionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface PermissionDao {
    int add(PermissionEntity permissionEntity);
    int update(PermissionEntity permissionEntity);
    void delete(Long id);
    PermissionEntity queryById(Long id);
    List<PermissionEntity> list(PermissionEntity permissionEntity);
}
